import {nanoid} from "nanoid";
export default function getTempId(){
    let loaclTempId = localStorage.getItem("userTempId")
    if(!loaclTempId){
        loaclTempId = nanoid()
        localStorage.setItem("userTempId",loaclTempId)
    }
    return loaclTempId
}